package com.xdw.vuebackdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xdw.vuebackdemo.model.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author xiadewang
 */
public interface UserMapper extends BaseMapper<User> {

    User findByUsernameAndPassword(@Param("username") String username,@Param("password") String password);
    User getUserByUserid(@Param("userid")long userid);
}
